/* 
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */

dojo.provide("nanosn.tracfaces.widgets.DataViewer");
dojo.require("dijit._Widget");
dojo.require("dijit._Templated");
dojo.declare("nanosn.tracfaces.widgets.DataViewer", [dijit._Widget, dijit._Templated],
{
    // TODO
    widgetsInTemplate: true,
    templatePath: dojo.moduleUrl("nanosn.tracfaces.widgets","templates/DataViewer.html"),

    structure: null, //TODO

    postCreate: function()
    {
//        dojo.connect(this._grid, "onRowDblClick", this, this._grid_onRowDblClick);
//        dojo.connect(this._grid, "onSelected", this, this._grid_onSelected);
    },
    
    _grid_onRowDblClick: function(rowIndex)
    {
        console.log("_grid_onRowDblClick: " + rowIndex);
    },
    
    _grid_onSelected: function(rowIndex)
    {
        console.log("_grid_onSelected: " + rowIndex);
    }
});
